package com.technician.common;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 删除请求
 */
@Data
public class DeleteRequest implements Serializable {

    /**
     * id
     */
    @NotNull(message = "参数异常")
    @Min(value = 0,message = "参数异常")
    private Long id;


    private static final long serialVersionUID = 1L;
}